<?php

class Loan extends DataObject {
	
	static $db = array(
      'LoanAllocDate' => 'Date',
      'AllocFrom' => 'Date',
      'LoanedOut' => 'Date',
      'LoanDuration' => 'Int',
      'ReturnDate' => 'Date'
   );
	
   static $has_one = array(
      'TheBook' => 'Book'
   );
   
}

?>